package com.happe.foodeasy.manage.commodity.entity;

import com.happe.foodeasy.manage.common.entity.BaseEntity;
import com.happe.foodeasy.manage.common.entity.ManagerEntity;
import com.happe.foodeasy.manage.image.entity.ImagePhotoEntity;

import java.util.Date;
import java.util.List;

/**
 * This class is the base entity of goods
 * Created by wubin on 2016-07-10.
 */
public class CommodityBaseEntity extends BaseEntity {
    private double price;
    private String unit;
    private String baseInfoDescription;
    private List<ImagePhotoEntity> imagePhotos;
    private long commentAmount;
    private CommodityTypeEntity commodityType;
    private ProvinceInfoEntity provinceInfo;
    private CommodityStatusEntity commodityStatus;
    private ManagerEntity insertManager;
    private Date insertTime;

    public List<ImagePhotoEntity> getImagePhotos() {
        return imagePhotos;
    }

    public CommodityStatusEntity getCommodityStatus() {
        return commodityStatus;
    }

    public void setCommodityStatus(CommodityStatusEntity commodityStatus) {
        this.commodityStatus = commodityStatus;
    }

    public void setImagePhotos(List<ImagePhotoEntity> imagePhotos) {
        this.imagePhotos = imagePhotos;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getBaseInfoDescription() {
        return baseInfoDescription;
    }

    public void setBaseInfoDescription(String baseInfoDescription) {
        this.baseInfoDescription = baseInfoDescription;
    }

    public long getCommentAmount() {
        return commentAmount;
    }

    public void setCommentAmount(long commentAmount) {
        this.commentAmount = commentAmount;
    }

    public CommodityTypeEntity getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(CommodityTypeEntity commodityType) {
        this.commodityType = commodityType;
    }

    public ProvinceInfoEntity getProvinceInfo() {
        return provinceInfo;
    }

    public void setProvinceInfo(ProvinceInfoEntity provinceInfo) {
        this.provinceInfo = provinceInfo;
    }

    public ManagerEntity getInsertManager() {
        return insertManager;
    }

    public void setInsertManager(ManagerEntity insertManager) {
        this.insertManager = insertManager;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }
}
